package com.cskaoyan.service.promotion;

import com.cskaoyan.bean.promotion.Topic;
import com.cskaoyan.vo.promotion.TopicListVo;
import com.cskaoyan.vo.promotion.WxTopicDetailVo;
import com.cskaoyan.vo.promotion.WxTopicListVo;

import java.util.List;

public interface TopicService {
    TopicListVo list(Integer page, Integer limit, String sort, String order, String title, String subtitle);

    int update(Topic topic);

    int delete(Topic topic);

    Topic create(Topic topic);

    WxTopicListVo listWx(Integer page, Integer size);

    WxTopicDetailVo detailWx(Integer id);

    List<Topic> related(Integer id);
}
